﻿using AcademiaInteligenteData;
using AcademiaInteligenteData.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AcademiaInteligenteWeb
{
    public partial class NewAmbiente : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Ambiente ambiente = new Ambiente();
            ambiente.Descricao = txtDescricao.Text;
            new BoAmbiente().InserirAmbiente(ambiente);
        }
    }
}